﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_Cost_Object_Code : DataObject
    {
        [Column]
        public string Company_Code { get { return _Company_Code; } set { _Company_Code = value; EntityState.FieldChange("Company_Code"); } } private string _Company_Code; public static FieldInfo company_Code = new FieldInfo("m_Cost_Object_Code", "Company_Code");
        [Column]
        public string Cost_Center { get { return _Cost_Center; } set { _Cost_Center = value; EntityState.FieldChange("Cost_Center"); } } private string _Cost_Center; public static FieldInfo cost_Center = new FieldInfo("m_Cost_Object_Code", "Cost_Center");
        [Column]
        public string Cost_Center_Description { get { return _Cost_Center_Description; } set { _Cost_Center_Description = value; EntityState.FieldChange("Cost_Center_Description"); } } private string _Cost_Center_Description; public static FieldInfo cost_Center_Description = new FieldInfo("m_Cost_Object_Code", "Cost_Center_Description");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("m_Cost_Object_Code", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("m_Cost_Object_Code", "Status");

    }
}
